package com.user.service;
import javax.servlet.http.HttpSession;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;

import com.bean.User;
public interface UserService {

	String check(User user, HttpSession session, Model model);

	String adminLogin(User user, Model model, HttpSession session);

	String insertUser(User user, BindingResult result, Model model);

	String updateInfo1(HttpSession session, User user, Model model);

	String UserSelectPet(Model model);

	String selectPetByID(int Petid, Model model);

	String UserSelectPetByPname(String pname, Model model);

	String selectbyPettype(int tid, Model model);

	String UserSelectPetByType(Model model);

	String MainPet(Model model);
	
}
